<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>MyJPetStore</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
<div th:fragment="MyList">
    <p>Pet Favorites <br/>
        Shop for more of your favorite pets here.</p>
    <ul>
        <li th:each="product:${session.myList}">
            <a th:href="'/catalog/viewProduct?productId=' + ${product.productId}" th:text="${product.productId}">
                Product ID
            </a>
        </li>
    </ul>
</div>
</body>
</html>